package org.kd.ssh.domain;

import java.util.HashSet;
import java.util.Set;

public class Goods {
	private String id;
	private String name;
	private String nm; /* 货物简记内码,如阿斯匹林为ASPL */
	private String unit;/* 计量单位,1:个，2:GK,3:只，.. */
	private Double amount;/* 库存数量 */

	private Store store;

	private Set<History> histories = new HashSet<History>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNm() {
		return nm;
	}

	public void setNm(String nm) {
		this.nm = nm;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Store getStore() {
		return store;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	public Set<History> getHistories() {
		return histories;
	}

	public void setHistories(Set<History> histories) {
		this.histories = histories;
	}

}
